<html lang="ko">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.google.appengine.api.users.*" %>    
<% UserService userService = UserServiceFactory.getUserService(); %>
<head>
    <meta charset="utf-8" />
    <title>jQuery UI Button - Icons</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- 	<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.7.3/build/cssreset/cssreset-min.css"> -->
	<link href="http://code.google.com/css/codesite.pack.04102009.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />
    <link rel="stylesheet" href="http://jqueryui.com/datepicker/resources/demos/style.css" />
    <script src="http://code.jquery.com/jquery-1.8.2.js"></script>
    <script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
	<title>TeamCloud | Login</title>
	<style type="text/css">
		#login-form label{display:none};
	</style>
    <script>
    $(function() {
        function checkRegexp( o, regexp, n ) {
            if ( !( regexp.test( o.val() ) ) ) {
                o.addClass( "ui-state-error" );
                updateTips( n );
                return false;
            } else {
                return true;
            }
        }
        
        $("input[type=submit], a").button();
        
    });
    </script>
</head>
<body>

	<!-- content -->
	<div id="gc-pagecontent">

		<!-- home page content -->
		<div class="g-unit">
			<div id="login-form">
				<form name="f" action="loginAction.jsp" method="post">
					<div>
						<label for="email" class="hidden">이메일</label>
						<input type="email" name="email" id="email" size="25" maxlength="50" placeholder="이메일" class="text ui-widget-content ui-corner-all"/>
					</div>
					<div>
						<label for="password">비밀번호</label>
						<input type="password" name="password" id="password" size="25" maxlength="100" placeholder="비밀번호" class="text ui-widget-content ui-corner-all"/>
					</div>
					<input type="submit" value="로그인" />
				</form>
			</div>
		</div>
		
		<a href='<%=userService.createLoginURL("/main.jsp")%>'>구글 로그인</a>
	</div>

</body>
</html>